<template>
  <div id="app">
      <sph-header></sph-header>
      <router-view></router-view>
      <sph-footer v-show="!$route.meta.hideFooter"></sph-footer>
  </div>
</template>

<script>
    import sphHeader from "components/header/sphHeader";
    import sphFooter from "components/footer/sphFooter";

import {getBanners,getFloors} from "api/api"
  export default {
    name: 'App',
      components:{
          "sph-header":sphHeader,
          "sph-footer":sphFooter,
      },
    async mounted(){
        const data = await getBanners();
        const data2 = await getFloors();
        console.log(data);
        console.log('---------');
        console.log(data2);
    }

}
</script>

<style>

</style>
